package cn.edu.cxcyzx.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.cxcyzx.entity.Teacher;

public interface TeacherDao {
	
	public void updateTea(Teacher tea);
	
	public void deleteTeaByTeaId(String teaId);
	
	public void insertTea(Teacher teacher);
	
	public Teacher selectByTeaId(String teaTd);
	
	public Teacher selectByTeaName(String teaName);
	
	public List<Teacher> selectLikeByTeaName(@Param("teaName")String teaName);
	
	public List<Teacher> getAllTea();
}
